Compiler


 
 
Concept Explanation
 

Compiler

The term compiler was coined by American computer scientist Grace Hopper, who designed one of the first compiler, A-0 in the early 1950s. A compiler is a program that translates a source program written in some high-level programming language (such as Java) into machine code for some computer architecture (such as the Intel Pentium architecture). The generated machine code can be later executed many times against different data time.

        Source;Coderightarrow Compilerrightarrow Object;code 

"Compiler is a program which takes as input a program of a high level language and produces object program in machine code"

Object program generated by compiler is machine dependent. It means that programs compiled for one type of machine will not run in another type. Therefore, every type of machine must have its personal compiler for a particular language. Machine independence is achieved by using standard higher-level language on different machines and converting them for use on specific machines through a compiler.

.... (More Text Available, Login?)
Sample Questions
(More Questions for each concept available in Login)
Question : 1

________________ converts the whole program in one session and reports errors detected after the conversion.

Right Option : B
View Explanation
Explanation
Question : 2

Translator system(s) program that is/are used to translate a high level language program into a machine language program is/are called _____________________

Right Option : A
View Explanation
Explanation
Question : 3

__________detects error line by line.

________give the full error report after the whole scan.

 

 

Right Option : A
View Explanation
Explanation
 
 


Students / Parents Reviews [10]